import request from '@/utils/request.js';

export async function reqLogin(params){
    // console.log('a',params)
    return request('/user/log',{
        method:'POST',
        data:params
    })
}

export async function reqUserId(params){
    // console.log('a',params)
    return request(`/user/${params}`,{
        method:'GET'
    })
}